Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: filter grants collection for co-PIs of person #26

Open
wants to merge 29 commits into
base: recent_collaborators
Choose a base branch
from

Conversation

dragonyanglong
Copy link

@sbillinge , this PR is to close issue regro#298 that @rohanpok and I worked together. Please review and merge.

We use co_pis dictionary to record every co-PIs grant amount.

sbillinge and others added 29 commits March 4, 2020 11:50
- working on fixing cells with data validation
- reformatted the names into Last, First format
- sorted the names by alphabetical order (by last name)
- added .idea to .gitignore
- modified coabuilder.py: added option for finding collaborators within 48 months from a provided "to date"
coabuilder.py modifications (see below)
Copy link
Owner

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs a bit of discussion. I am not too happy about this filter function in the first place. I think it is supposed to return a list of grants that contain a person but it is clujy. We might want to split it up and for example, filter for "all the grants that a person is in" which should return a list of grants. Let's maybe schedule a call for this.

@dragonyanglong
Copy link
Author

Sorry I am a bit confused now. Then it seems like your original filter function could already do that? or maybe I am wrong? We could input the names as the person name you want, then the output grants are the grants includes that person.

@sbillinge
Copy link
Owner

sbillinge commented Mar 18, 2020 via email

@dragonyanglong
Copy link
Author

I see. can you write some more detailed words on what you want from this function? inputs and outputs expected.

@sbillinge
Copy link
Owner

sbillinge commented Mar 18, 2020 via email

@sbillinge sbillinge force-pushed the recent_collaborators branch from 13a36ad to 3e0ebc5 Compare April 25, 2020 11:58
@sbillinge sbillinge force-pushed the recent_collaborators branch from 7ee23f8 to 7983fdc Compare June 5, 2020 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants